<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<div id="t" style="background-color:#CCC; font-size:12px">
  <span style="color:#C06">
   <s:if test="#session.user==null">
			&nbsp;您好，欢迎光临极目商城[&nbsp;<a href="toLogin.action">登录</a>|<a
			href="toaddUser.action">注册</a>&nbsp;]
	</s:if>
    <s:else>
			<b>${sessionScope.user}</b>&nbsp;您好，欢迎光临极目商城
			[&nbsp;<a href="logout.action" >退出登录</a>|
			<a href="toModiUser.action?id=${sessionScope.userId }">完善个人资料</a>]
			&nbsp;&nbsp;[<a href="myjm.action">我的极目</a>|
			<a href="toBuyCar.action">我的购物车</a>]	
    </s:else>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    	购物车${sessionScope.cartNum }件&nbsp;&nbsp;</span><img src="image/cart.jpg" style="vertical-align:middle"/>
    	<span>&nbsp;&nbsp;我的订单&nbsp;&nbsp;|&nbsp;&nbsp;我的V+&nbsp;&nbsp;|&nbsp;&nbsp;网站导航&nbsp;&nbsp;|&nbsp;&nbsp;帮助中心&nbsp;&nbsp;|&nbsp;&nbsp;手机V+&nbsp;&nbsp;|&nbsp;&nbsp;</span><span style="color:#C06">收藏V+</span>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
    管理员<a href="main.action">[登录]</a>	
</div>

<a href="top.action"><img alt="图" src="photo/advertis/page.png" style="height:;width:"></a>
<hr color="red" size="5px" style="margin-top:0px;">
<a href="top.action"><img alt="图" src="image/shop.jpg" style="height:90px;width:400px;"></a>
	
<form class="cf form-wrapper" action="search.action" method="post">
<input type="text" placeholder="输入要搜索商品...">
<input type="submit" value="搜索">
<!-- <button type="submit">搜索</button> -->
</form>
<hr color="red" size="5px" >